<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>基本掩码框 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Basic MaskedBox">基本掩码框</h2>
	<p title="The maskedbox enforces its structure as the user types.">　　掩码框可用来确保所输入值的结构符合预期。</p>
	<p></p>
	<div style="margin:20px 0;"></div>
	<div class="easyui-panel" title="基本掩码框" style="width:100%;max-width:400px;padding:30px 60px;">
		<div style="margin-bottom:20px">
			<input class="easyui-maskedbox" mask="(999) 999-9999" label="电话号码：" labelPosition="top" style="width:100%">
		</div>
		<div style="margin-bottom:20px">
			<input class="easyui-maskedbox" mask="9999 9999 9999 9999" label="信用卡号：" labelPosition="top" style="width:100%">
		</div>
		<div style="margin-bottom:20px">
			<input class="easyui-maskedbox" mask="99%" label="百分比值：<sub>（2位整数）</sub>" labelPosition="top" style="width:100%">
		</div>
	</div>


</body>
</html>